home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 101-125 / 108 / printpop / printpop.doc < prev    next >
Text File  |  1995-03-13  |  8KB  |  162 lines

  1.                                 PRINTPOP
  2.  
  3.                          A Printer Setup Utility
  4.  
  5.                                    by
  6.  
  7.                              Robbie J Akins
  8.  
  9.                               August 1987
  10.  
  11. PRINTPOP is a utility that was written to enable the user to simply send some
  12. common control settings to the PRT: printer device.
  13.  
  14. It's origin is due to me having to  fight all the time with the settings that
  15. Preferences sends (or more often, does not send) to my printer.  Consider the
  16. following scenario:
  17.      
  18.      You have just started printing a large document to your printer.
  19.  
  20.      Your printer has got a large print buffer.
  21.      
  22.      You have a paper jam, and your printout is going haywire!
  23.      
  24.      The  easy way out  is to stop  the printout  and then turn off  the
  25.      printer to flush its buffer of all the information that it contains
  26.      and reset the paper feed.
  27.      
  28.      Now startup the printout of your document again.   This time things
  29.      are even worse!    Preferences has not send its copy of the printer
  30.      settings to the printer again  and you get another haywire printout
  31.      because the printer has gone back to its powerup settings! It seems
  32.      that  the only way to get  Preferences to send  its settings is  to
  33.      actually  change the  printer  chosen to  something else, save  the
  34.      settings and then change back to the original printer. A real pain!
  35.  
  36. Hence PRINTPOP.  Now you  can call this  pop-up  program at any time and send
  37. setup codes directly to the printer, bypassing Preferences.
  38.  
  39. To install PRINTPOP, type the command:
  40.  
  41.                  run PRINTPOP
  42.  
  43. from the CLI. The program will install itself with a small sign on message.
  44.  
  45. To install PRINTPOP in your startup-sequence,  put a copy of PRINTPOP in your
  46. C directory and edit the startup-sequence  file in the S directory to add the
  47. line:
  48.  
  49.                  run C/PRINTPOP > NIL:
  50.  
  51. (the redirection to NIL: will suppress the sign on message).
  52.  
  53. Hence forth,  any time that you  want  to invoke PRINTPOP just press the LEFT
  54. AMIGA key and the F1 function key simultaneously.  If you are currently using
  55. a screen  other  than  the Workbench  screen, the  Workbench  screen  will be
  56. brought to the front and the PRINTPOP window will appear.  If you are already
  57. working on  the Workbench  screen, the  PRINTPOP  window will  appear without
  58. changing the depth arrangement of any other screens.
  59.                                               PRINTPOP Documentation - Page 2
  60.  
  61. The PRINTPOP window presents a number of gadgets:
  62.  
  63.      Draft/NLQ        This   toggling  gadget   allows  you  to   select
  64.                       between  draft  quality  printing and  Near Letter
  65.                       Quality  printing  (if  it  is  supported by  your
  66.                       particular printer).
  67.  
  68.      Default Tabs     This  toggling  gadget  allows you to  either  set
  69.       Set/Clear       or  clear the default  horizontal tab settings  on
  70.                       your printer.
  71.  
  72.      Print Pitch      This "mutual exclude" gadget  allows you to select
  73.      10/12/15/PS      between  10,  12  or 15  characters/inch  or  else
  74.                       select Proportional Spacing.   These pitchs may or
  75.                       may not be supported by your printer.
  76.  
  77.      Enlarged         This allows you to turn on  Enlarged printing mode
  78.                       in either  the 10, 12 or 15 pitch modes  and again
  79.                       may or may not be supported by your printer.  Note
  80.                       that when  Enlarged mode is selected with  a print
  81.                       pitch of PS,  that a character  pitch of 10 cpi is
  82.                       selected and that the PS gadget is "ghosted". This
  83.                       is because Expanded printing makes no sense with a
  84.                       proportionally spaced font.
  85.  
  86.      Margins          There are  gadgets here for  setting both the left
  87.                       and right margins.  Pressing the appropriate left-
  88.                       arrow  gadget will decrease that margin by 1,  and
  89.                       pressing the right-arrow gadget will increase that
  90.                       margin by 1.  The minimum margin values are 1, and
  91.                       the  maximum values are 999  (should be enough for
  92.                       any printer I can think of!).
  93.  
  94.      Reset To         Selecting  this  gadget  will  "ghost"  ALL  other
  95.     Preferences       gadgets,  and will result in an initialisation set
  96.                       of  codes  equivalent  to the current  preferences
  97.                       settings  being sent to the printer.   This is one
  98.                       easy  way of getting your printer and  Preferences
  99.                       to be talking the same values!
  100.  
  101. When  you are  happy with the settings  you have chosen, close the window  by
  102. pressing the  window close gadget  and the appropriate control  sequences are
  103. sent to the printer currently assigned as the PRT: device.
  104.  
  105. If PRINTPOP brought the Workbench screen to the front of any other screen you
  106. were using, you can restore your original screen by pressing LEFT AMIGA M.
  107.  
  108. When PRINTPOP is first invoked, it will come up with a group of settings that
  109. are defined when the program is compiled.  In the default case these settings
  110. are: NLQ / Clear Tabs / 12 cpi / Left Margin = 15 / Right Margin = 95.
  111.  
  112. These defaults were chosen because they are usually what I want!  If you want
  113. to change them I'm afraid you'll have  to recompile the program with your own
  114. settings. Sorry!
  115.  
  116. Note that the first time the  PRINTPOP  window is closed that the  Amiga will
  117. load the appropriate printer driver  (as defined by Preferences)  from  disk.
  118. Subsequent invocations of PRINTPOP will not cause this.
  119.                                               PRINTPOP Documentation - Page 3
  120.  
  121. At certain times you may invoke PRINTPOP while the printer is in  use by some
  122. other  program.   In this situation, when you close the  PRINTPOP  window, an
  123. "autorequester " will appear  saying  that  PRINTPOP was unable  to send  the
  124. control  sequences to the printer  because it was  already in use.  Press the
  125. autorequester  "PROCEED"  button to  carry on, noting that  the settings  you
  126. chose have NOT been sent to the printer.
  127.  
  128. TRAP FOR YOUNG PLAYERS:   When you first set up your Amiga and send a control
  129. sequence  to your printer using PRINTPOP before you actually print  anything,
  130. the Preferences will not know anything about that.  Therefore, the first time
  131. you do any  printing, the  Amiga  will send  the Preferences settings to your
  132. printer,  overriding any setup  you did  with PRINTPOP.  Therefore,  PRINTPOP
  133. should be used as a simple, convenient way of CHANGING your printer settings,
  134. NOT initialising them. 
  135.  
  136. CAVEATS: 
  137.  1) PRINTPOP requires version 1.2 (or later) of the operating system. It will
  138.     not function with earlier versions.
  139.  
  140.  2) PRINTPOP has been tested  with a number of  different printers,  but will
  141.     not necessarily work correctly with all.  This will not be a problem with
  142.     PRINTPOP (I hope!),  but will usually be due to the printer  driver being
  143.     used not  being  compatible  with the  actual  printer.  For example, the
  144.     "official" Epson printer driver used with an original Epson MX-80 printer
  145.     will cause spurious characters to be printed on setup because the printer
  146.     driver supports margins, but the original MX-80 does not!
  147.  
  148. Ackowledgements for the inspiration and  sources of help for this program can
  149. be found in the listing of the "C" code for this program.
  150.  
  151. There are no conditions on the use of this program.
  152. I hope you find it useful!
  153.  
  154. The author may be contacted at the following address:
  155.  
  156.            Robbie J Akins
  157.            BEC
  158.            BCNZ
  159.            P.O.Box 98
  160.            Wellington
  161.            NEW ZEALAND.
  162.